package com.ruoyi.lxy.zust.mapper;


import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.lxy.zust.domain.TStaff;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper

@DS("slave")
public interface StaffMapper extends BaseMapper<TStaff> {
    @Select("select * from staff where ZGH=#{Zgh}")
   TStaff selectByZgh(String Zgh);

}
